<!DOCTYPE html>
<html lang="en">

<!-- Header -->
<head th:include="HeaderTemplate :: Header(${pageTitle},${pageDescription},${pageKeywords})"></head>

<body>

<!-- 头部 -->
<div th:include="TopTemplate"></div>

<style type="text/css">
    .title{
        width:100%;
        box-sizing:border-box;
        padding:10px;
        text-align: center;
        font-size:24px;
        font-weight: bold;
    }
    .downLoadTitle{
        margin: 50px 0px 10px 0px;
    }
    .downLoadTitle strong{
        font-size:18px;
    }
    .downLoadList ul{
        list-style-type: circle;
        padding-left:20px;
    }
    .downLoadList ul li{
        list-style-type: circle;
        margin:5px 0px;
    }
    .downLoadList ul li a{
        cursor: pointer;
        text-decoration: underline;
    }
</style>


<div class="mian fix">
    <div class="rj_banner">

        <li>
            <img src="/images/2016061750769601.jpg" border="0">
        </li>
    </div>
    <div class="rj_mian">
        <div class="rj_l">
            <div class="l_bt">关于我们<i>About</i></div>
            <ul>
                <li class="a1"><a href="/detail_35.html" title="公司简介">公司简介</a></li>

                <li><a href="/detail_38.html" title="联系我们">联系我们</a></li>
            </ul>
            <a href="/detail_38.html"><img src="/images/l_jrwm.jpg"></a>
            <a href="/detail_38.html"><img src="/images/l_lxwm.jpg"></a>
        </div>
        <div class="rj_r">

            <div class="mbx_dh">
                <div th:text="${tagValue}" style="float:left;"></div>
                <span>您当前的位置：&nbsp;<a href="/">首页</a>&nbsp;>&nbsp;<span th:text="${tagValue}" style="background:none;padding:0px;"></span> </span>
            </div>


            <!-- 单例模式 <<Start>> -->
            <block th:if="${mode==null}">
                <div class="title" th:utext="${articlesData.atitle}"></div>
                <div class="gsjj">
                    <div th:utext="${articlesData.acontent}"></div>
                </div>
                <!-- 资料下载 -->
                <div class="downLoadTitle" th:if="${attachmentsList!=null}"><strong>相关资料下载</strong></div>
                <div class="downLoadList" th:if="${attachmentsList!=null}">
                    <ul>
                        <li th:each="item:${attachmentsList}"><a th:href="${#strings.arraySplit(item,'#')[2]}" target="_blank" th:text="${#strings.arraySplit(item,'#')[1]}"></a></li>
                    </ul>
                </div>
            </block>


            <!-- 列表模式 <<Start>> -->
            <block th:if="${mode!=null && mode=='list'}">
                <div class="list">
                    <ul>
                        <li th:each="item:${articlesListData}">
                            <span th:text="${#strings.arraySplit(item.createtime,' ')[0]}"></span>
                            <a th:href="'/detail_'+${item.id}+'.html'" th:text="${item.atitle}"></a></a>
                        </li>
                    </ul>
                    <div id="page">
                        <a class="a1" th:text="'共'+${dataTotal}+'条'"></a>

                        <li><a th:href="'/detail/'+${PageTag}+'/list/'+${curPage>1?curPage-1:1}+'.html'" class="a1">上一页</a></li>
                        <span th:if="${curPage==1}">1</span>

                        <li th:if="${curPage>10}">
                            <a th:href="'/detail/'+${PageTag}+'/list/1.html'" th:if="${curPage!=item}">1..</a>
                        </li>

                        <li th:each="item,state:${PageTotal}" th:if="${PageCount<=10}">
                            <a th:href="'/detail/'+${PageTag}+'/list/'+${item}+'.html'" th:if="${curPage!=item}"  th:text="${item}"></a>
                            <span th:if="${curPage>1 && curPage==item}" th:text="${curPage}"></span>
                        </li>

                        <li th:each="item,state:${PageTotal}" th:if="${PageCount>10 && state.index<10 && curPage<=10}">
                            <a th:href="'/detail/'+${PageTag}+'/list/'+${item}+'.html'" th:if="${curPage!=item}"  th:text="${item}"></a>
                            <span th:if="${curPage>1 && curPage==item}" th:text="${curPage}"></span>
                        </li>

                        <li th:each="item,state:${PageTotal}" th:if="${PageCount>10 && curPage>10 && state.index>(curPage-4) && (state.index<curPage+7) &&  state.index<(PageCount-1)  && curPage<PageCount}">
                            <a th:href="'/detail/'+${PageTag}+'/list/'+${item}+'.html'" th:if="${curPage!=item}"  th:text="${item}"></a>
                            <span th:if="${curPage>1 && curPage==item}" th:text="${curPage}"></span>
                        </li>
                        ..
                        <li>
                            <a th:href="'/detail/'+${PageTag}+'/list/'+${PageCount}+'.html'" th:if="${curPage<PageCount}" th:text="${PageCount}"></a>
                            <span th:if="${curPage==dataTotal}" th:text="${PageCount}"></span>
                        </li>
                        <li><a th:href="'/detail/'+${PageTag}+'/list/'+${curPage<PageCount?curPage+1:PageCount}+'.html'" class="a1">下一页</a></li>
                    </div>
                </div>
            </block>
            <!-- 列表模式 <<End>> -->


        </div>

    </div>




</div>




<!--底部 -->
<div th:include="BottomTemplate"></div>


</body>



</html>